<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .contain{
            display: flex;
        }
        .flex-start{
            justify-content:flex-start;
        }
        .flex-end{
            justify-content:flex-end;
        }
       .box{
        width: 400px;
            height: 200px;
            background: rgb(108, 108, 196);
       }
       h1{
        text-align: center;
       }
       .center{
            justify-content:center;
        }
        .space-between{
            justify-content:space-between;
        }
        .space-around{
            justify-content: space-around;
        }
        .flex-start1{
            align-items:flex-start;
            height: 500px;
        }
        .flex-end2{
            align-items:flex-end;
            height: 500px;
        }
        .center2{
            align-items: center;
            height: 500px;
           
        }
        .row-reverse{
           flex-direction: row-reverse;
        }
        .column{
            flex-direction: column;
        }
    </style>
</head>
<body>
    <h1>justify-content</h1>
    <h4>flex-start</h4>
    <div class="contain flex-start">
        <div class="box">a</div>
        <div class="box">b</div>
        <div class="box">c</div>
    </div>
    <br>
    <h4>flex-end</h4>
    <div class="contain flex-end">
        <div class="box">a</div>
        <div class="box ">b</div>
        <div class="box">c</div>
    </div>
    <br>
    <h4>center</h4>
    <div class="contain center">
        <div class="box">a</div>
        <div class="box">b</div>
        <div class="box">c</div>
    </div>
    <br>
    <h4>space-between</h4>
    <div class="contain space-between">
        <div class="box ">a</div>
        <div class="box">b</div>
        <div class="box ">c</div>
    </div>
    <br>
    <h4>space-around</h4>
    <div class="contain space-around">
        <div class="box">a</div>
        <div class="box">b</div>
        <div class="box">c</div>
    </div>
    <h1>align-items</h1>
    <h4>flex-start</h4>
    <h4>flex-start、flex-end、center</h4>
    
    <div class="contain flex-start1">
        <div class="box ">a</div>
        <div class="box ">b</div>
        <div class="box ">c</div>
    </div>
    <br>
    <h4>flex-end</h4>
    <div class="contain flex-end2">
        <div class="box ">a</div>
        <div class="box ">b</div>
        <div class="box ">c</div>
    </div>
    <br>
    <h4>center</h4>
    <div class="contain center2">
        <div class="box">a</div>
        <div class="box ">b</div>
        <div class="box ">c</div>
    </div>
    <br>
    <h1>flex-direction</h1>
    <h4>row-reverse</h4>
    <div class="contain row-reverse">
        <div class="box ">a</div>
        <div class="box ">b</div>
        <div class="box ">c</div>
    </div>
    <br>
    <h4>column</h4>
    <div class="contain column">
        <div class="box">a</div>
        <div class="box">b</div>
        <div class="box ">c</div>
    </div>
</body>
</html>